package com.oldking.utils;

public class CommonColorUtil {
    public static final String[] colorList = new String[]{"#ffff00", "#ffcc00", "#ff9900", "#ff6600", "#ff3300", "#ccff00", "#cccc00", "#cc9900", "#cc6600", "#cc3300", "#cc0000", "#99ff00", "#99cc00", "#999900", "#996600", "#993300", "#990000", "#66ff00", "#66cc00", "#669900", "#666600", "#663300", "#660000", "#33ff00", "#33cc00", "#339900", "#336600", "#333300", "#330000", "#FFDEAD", "#FFB90F", "#FFA54F", "#FF8C00", "#FF7F50", "#FF6EB4", "#FF4500", "#FF3030", "#FDF5E6", "#FAF0E6", "#F5DEB3", "#F0E68C", "#EEE8AA", "#EED5B7"};
    public static String getColorByKey(int key){
        if (key >colorList.length){
            return null;
        }
        return colorList[key];
    }
}
